package com.dv.schoolshop.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dv.schoolshop.dao.AreaDao;
import com.dv.schoolshop.entity.Area;
import com.dv.schoolshop.service.AreaService;

@Service 
public class AreaServiceImpl implements AreaService {
	
	@Autowired
	private AreaDao areaDao;
	 
	@Override
	public List<Area> getAreaList() {
		return areaDao.queryArea();
	}

}
